//
//  TableNumberManager.h
//  YIChuSeller
//
//  Created by 田小椿 on 2018/12/24.
//  Copyright © 2018年 xiangshengjun. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface TableNumberManager : NSObject
/**
 查询所有商品列表
 storeId:商铺id
 success:成功
 fail:失败
 */
+ (void)selectTableListWithStoreID:(NSString*)storeId
                          success:(CompleteHandle)success
                             fail:(CompleteHandle)fail;

/**
 添加桌次
 storeId:商铺id
 deskName:桌次名
 peopleNum:可容纳人数
 success:成功
 fail:失败
 */
+ (void)addTableNumberWithStoreID:(NSString*)storeId deskName:(NSString *)deskName peopleNum:(NSString *)peopleNum success:(CompleteHandle)success fail:(CompleteHandle)fail;

/**
 更改桌次
 deId:卓次id
 deskName:桌次名
 peopleNum:可容纳人数
 success:成功
 fail:失败
 */
+ (void)changeTableNumberWithDeId:(NSString*)deId deskName:(NSString *)deskName peopleNum:(NSString *)peopleNum success:(CompleteHandle)success fail:(CompleteHandle)fail;

/**
 删除桌次
 deId:卓次id
 success:成功
 fail:失败
 */
+ (void)deleteTableNumberWithDeId:(NSString*)deId success:(CompleteHandle)success fail:(CompleteHandle)fail;

@end

NS_ASSUME_NONNULL_END
